<template>
  <div>
    <CloudSwitch default-checked @change="onChange" />
  </div>
</template>

<script>
  export default {
    title: '1.基本用法 ',
    subTitle: '最简单的用法。',
    data () {
      return {
      }
    },
    methods: {
      onChange (checked) {
        console.log(`a-switch to ${checked}`);
      },
    }
  }
</script>

<style lang="scss">
</style>